<?php

class Application_Model_Event extends Zend_Db_Table_Abstract
{
     protected  $_name='event';
    function  listAll()
    {
        return $this->fetchAll()->toArray();
    }
    function listThree()
    {
        return $this->fetchAll(null, "id  DESC", 3)->toArray();
    }
}

